package entity;

import java.util.Date;
import java.util.List;

public class StorageMessageEx extends StorageMessage {
    private List<String> operatorAndTimes;

    public StorageMessageEx(Integer id, String code, Integer qualifiedNumber, Integer unQualifiedNumber, String inOut, String storage_man, Date storageDate, Date createTime, Integer creatorId, Date updateTime, Integer updaterId, List<String> operatorAndTimes) {
        super(id, code, qualifiedNumber, unQualifiedNumber, inOut, storage_man, storageDate, createTime, creatorId, updateTime, updaterId);
        this.operatorAndTimes = operatorAndTimes;
    }

    public StorageMessageEx() {
    }

    public List<String> getOperatorAndTimes() {
        return operatorAndTimes;
    }

    public void setOperatorAndTimes(List<String> operatorAndTimes) {
        this.operatorAndTimes = operatorAndTimes;
    }

    @Override
    public String toString() {
        return super.toString()+"{" +
                "operatorAndTimes='" + operatorAndTimes + '\'' +
                        '}';
    }


}
